package com.cow.support.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the orginfo database table.
 * 
 */
@Entity
@Table(name="orginfo")
@NamedQuery(name="Orginfo.findAll", query="SELECT o FROM Orginfo o")
public class Orginfo implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer orgid;	
	private String description;

	private String email;

	@Temporal(TemporalType.TIMESTAMP)
	private Date gentime;

	private String homepage;

	private String juridicalperson;

	private String orgcode;	

	private String orgname;

	private String orgtype;

	private Integer superorgid;

	private String telephone;

	public Orginfo() {
	}

	public Integer getOrgid() {
		return orgid;
	}

	public void setOrgid(Integer orgid) {
		this.orgid = orgid;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getGentime() {
		return gentime;
	}

	public void setGentime(Date gentime) {
		this.gentime = gentime;
	}

	public String getHomepage() {
		return homepage;
	}

	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}

	public String getJuridicalperson() {
		return juridicalperson;
	}

	public void setJuridicalperson(String juridicalperson) {
		this.juridicalperson = juridicalperson;
	}

	public String getOrgcode() {
		return orgcode;
	}

	public void setOrgcode(String orgcode) {
		this.orgcode = orgcode;
	}

	public String getOrgname() {
		return orgname;
	}

	public void setOrgname(String orgname) {
		this.orgname = orgname;
	}

	public String getOrgtype() {
		return orgtype;
	}

	public void setOrgtype(String orgtype) {
		this.orgtype = orgtype;
	}

	public Integer getSuperorgid() {
		return superorgid;
	}

	public void setSuperorgid(Integer superorgid) {
		this.superorgid = superorgid;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}


}